<?php
if (!defined('ZAZA')) exit('No direct script access allowed');
/**
 * Define Marcro here ..
 * @copyright ZaZa Group
 * @author Sir Doan
 */
define('DS', DIRECTORY_SEPARATOR); 
//define('DS', '/'); 
define('EXT', '.php'); 
define('TEMP', '.html'); 
define('ROOT_PATH', dirname(dirname(__FILE__)));
//define('ROOT_PATH', preg_replace('#\/#i', DS, $_SERVER['DOCUMENT_ROOT']) . DS .'sohagame');         
//define('ROOT_URL', 'http://192.168.4.108/');
define('KERNEL_PATH', ROOT_PATH . DS .'kernel');
define('MODULE_PATH', ROOT_PATH . DS .'modules');
define('MODEL_PATH', ROOT_PATH . DS .'models');
define('PLUGIN_PATH', ROOT_PATH . DS .'plugins');
define('WIDGET_PATH', ROOT_PATH . DS .'widgets');
define('LAYOUT_DIR',  'webskins'. DS .'layouts');
define('TEMPLATE_DIR', 'webskins'. DS .'templates');  
define('ADMIN_PATH', 'admin');
define('GOOGLE_OAUTH_PATH', PLUGIN_PATH . DS .'google');

// Log
define('LOG_FOLDER', ROOT_PATH . DS .'cache'. DS .'log');
define('LOG_SLOW_QUERY_FOLDER', ROOT_PATH . DS .'cache'. DS .'log');
define('IN_DEBUG', false);
define('SHOW_QUERY', false);
define('IS_SLOW_QUERY', 0.03);

// User
define('NAME_SESSION_USER', 'user');
define('TIME_RELOAD_USER_INFO', 6000000);

?>
